#include "GameRecord.h"

GameRecord::GameRecord(GameInfo * gameInfo, GameMoves * gameMoves) : _gameInfo(gameInfo), _gameMoves(gameMoves){
}

GameInfo * GameRecord::getGameInfo() {
    return _gameInfo;
}

GameMoves * GameRecord::getGameMoves() {
    return _gameMoves;
}

GameRecord::~GameRecord(){
    delete _gameInfo;
    delete _gameMoves;
}
